package com.etc.dao;

import java.util.List;

import com.etc.entity.Hobby;

public interface HobbyMapper {
    int deleteByPrimaryKey(Integer hid);

    int insert(Hobby record);

    int insertSelective(Hobby record);

    Hobby selectByPrimaryKey(Integer hid);

    int updateByPrimaryKeySelective(Hobby record);

    int updateByPrimaryKey(Hobby record);
    
    //查询所有喜好
    List<Hobby> findAll();
}